<?php

class rate_cost extends Controller {

	function Welcome()
	{
		parent::Controller();	
	}
	
	function index()
	{
		$this->load->model('filemanagementmodel');
	    $data['header_tel'] = $this->filemanagementmodel->getByPostion('header_tel');
	    $data['footer_address'] = $this->filemanagementmodel->getByPostion('footer_add1');
	    
		$this->load->model('CourseModel');
	    $d['courseList'] = $this->CourseModel->getAll();
	    
	    $this->load->model('filemanagementmodel');
	    $d['howto_payment'] = $this->filemanagementmodel->getByPostion('howto_payment');
	    
	    
		$this->load->view('f_header', $data);
		$this->load->view('f_rate_cost', $d);
		$this->load->view('f_footer', $data);
	}
}

?>